package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.BookMark;
import com.chainyoung.component_tmperson.entity.CoinItem;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface BrowserCollectionContract {

    interface View extends IView {

        void onGetBookmarkListSuccessed(List<BookMark> data);

        void onGetBookmarkListFailed();

        void onDelBoomarkSuccessed(List<BookMark> data);






    }

    interface Model extends IModel {

        Flowable<List<BookMark>> getBookmarkList(TreeMap<String, Object> map);

        Flowable<List<BookMark>> delBookmarkList(TreeMap<String, Object> map);

    }

}
